const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/music': {
        target: `http://web.codeboy.com`,
        ws: true, // 是否启用websockets
        secure: true, // 使用的是http协议则设置为false，https协议则设置为true
        changeOrigin: true,
      },
    },
  },
})
